<template>
  <view class="custom-navbar">
    <view class="status_bar">
      <!-- 这里是状态栏 -->
    </view>
    <view class="title">{{ pageTitle }}</view>
  </view>
</template>

<script>
export default {
  props: {
    pageTitle: {
      type: String,
    },
  },
};
</script>

<style lang="scss" scoped>
.custom-navbar {
  width: 100%;
  text-align: center;
  .title {
    color: #000000;
    height:80rpx;
    line-height: 80rpx;
    font-size:14px;
  }
}
.status_bar {
  height: var(--status-bar-height);
  width: 100%;
}
</style>
